#ifndef						__IASYNCTCPSOCKET_H__
#	define					__IASYNCTCPSOCKET_H__

#	include					<iostream>
#	define					SOCKET_READ_LENGTH 4096

#	include					"byte.h"

class						IAsyncTcpSocket
{
public:
	IAsyncTcpSocket() {};
	virtual ~IAsyncTcpSocket() {};

public:
	virtual void			init() = 0;
	virtual size_t			write(byte*, size_t) = 0;
	virtual void			close() = 0;
	virtual void			connectToHost(const std::string &, const std::string &) = 0;
};

#endif						// !__IROTATINGBUFFER_H__
